package com.baox.agridata.synchronous.service.impl;

import com.baox.agridata.synchronous.dao.TCCOutPAMapper;
import com.baox.agridata.synchronous.entity.TCCOutPAEntity;
import com.baox.agridata.synchronous.service.TCCOutPAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class TCCOutPAServiceImpl implements TCCOutPAService {

    @Autowired
    private TCCOutPAMapper tccOutPAMapper;

    @Override
    public List<TCCOutPAEntity> selectTCCOutPADataToChengDu(String createTime, String endTime) {
        return tccOutPAMapper.selectTCCOutPADataToChengDu(createTime, endTime);
    }

    @Override
    public Integer updateTCCOutAAById(TCCOutPAEntity tccOutPAEntity) {
        return tccOutPAMapper.updateTCCOutAAById(tccOutPAEntity);
    }

    @Override
    public TCCOutPAEntity selectTCCOutPAById(String mid) {
        return tccOutPAMapper.selectTCCOutPAById(mid);
    }
}
